home *** CD-ROM | disk | FTP | other *** search
/ Champak 112 / jogo-disk-112.iso / Games / steppenwolf_3_chapter_8.swf / scripts / DefineButton2_1042 / BUTTONCONDACTION on(keyPress O).as < prev    next >
Text File  |  2010-07-14  |  367b  |  15 lines

  1. on(keyPress "O"){
  2.    if(eval("/Variables:AnimJoue") != true and getProperty("_root.Animatiques", _currentframe) == 1)
  3.    {
  4.       set("/Variables:Stoppe",false);
  5.       if(eval("/Variables:Grimpe") == false)
  6.       {
  7.          tellTarget("/")
  8.          {
  9.             gotoAndStop(eval("/Variables:EtatActif"));
  10.          }
  11.       }
  12.       gotoAndStop(1);
  13.    }
  14. }
  15.